package com.hj.dapp.business.mainbudget.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hj.dapp.business.category.model.Category;
import com.hj.dapp.business.mainbudget.model.MainBudget;
import com.hj.dapp.business.mainbudget.vo.MainBudgetSaveVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 胡奥程
 * @version 1.0
 * @date 2024/1/29
 */

@Mapper
public interface MainBudgetMapper extends BaseMapper<MainBudget> {

    MainBudgetSaveVO getMainBudget(@Param("customerId") Long customerId,@Param("engineerProjectId") Long engineerProjectId);

    List<Category> getBindCategorys(@Param("mainBudgetId") Long mainBudgetId);
}




